﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace SerieSpotter.Models
{
    public class SerieSpotterDb : DbContext
    {
        public SerieSpotterDb() : base("name=DefaultConnection")
        { }

        public DbSet<Show> Shows { get; set; }
        public DbSet<Episode> Episodes { get; set; }
        public DbSet<Season> Seasons { get; set; }

        public DbSet<Comment> Comments { get; set; }

       // public DbSet<User> Users { get; set; }
        public DbSet<UserProfile> UserProfiles { get; set; }

        public DbSet<ShowPerUser> ShowPerUsers { get; set; }
        public DbSet<EpisodePerUser> EpisodePerUsers { get; set; }
    }
}